import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as echarts from 'echarts'

// 引入全局样式
import '@/assets/css/global.scss'
import '@/assets/fonts/iconfont/iconfont.css'

// websocket
import WebsocketService from '@/utils/websocket_service'
WebsocketService.getInstance().connect()

// 挂载原型
Vue.prototype.$ws = WebsocketService
Vue.prototype.$echarts = echarts



Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
